/*# Capture ESXi system information.
#
# Written by: Alaa Hleihel <alaa@mellanox.com>
*/

#ifndef _CommandList_h_
#define _CommandList_h_

#include <sys/wait.h>
#include <iostream>
#include <sys/types.h>
#include <fcntl.h>
#include <sstream>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <signal.h>
#include <fstream>
#include <vector>
#include <cstring>
#include <sys/types.h> 

using namespace std;

//----------------------------------------------------------------------------------------
struct CommandWithArgs
{
	vector<char *> commandVector;
};

//----------------------------------------------------------------------------------------

class CommandList
{
	private:
		vector <CommandWithArgs>  list;
	
	public:
		int count;
		CommandList();
		void add(string cmd);
		char** getAtIndex(int index);
};
//----------------------------------------------------------------------------------------


#endif
